// number

Math.floor(1.99)  //向下取整
Math.ceil(1.111)  //向上取整

console.log(Math.max(1, 2, 3, 4));
